Woocommerce\Pagarme\Controller\Checkout S

Total Complexity 48
Dependencies 9
Dependents 1
Total lines 259
Lines of code 187
Logical lines of code 123
Comment lines 1
Methods 12
Properties 2

Methods 12

Method Rating Maintainability Complexity Lines of code
prepare_fields()
A
51 10 27
process_checkout_transparent()
S
47 6 36
validate_brands()
S
58 6 15
save_customer_card()
S
55 5 19
validate_amount_billet_and_card()
S
56 4 17
validate_amount_2_cards()
S
56 4 17
parse_cards()
S
63 4 10
build_installments()
S
61 3 11
sanitize_field()
S
64 3 10
__construct()
S
56 1 16
set_required_fields()
S
76 1 4
prepare_expiry_field()
S
70 1 5